package playground.fs.rnkrsoft;

import java.io.BufferedReader;
import java.io.IOException;

/**
 * Created by test on 2020/3/5.
 * 字符串查找
 */
public interface StringFinder {
    /**
     * 查找
     * @param reader 字符流
     * @param searchStr 搜索指定的字符串
     * @return 任务对象
     */
    FindTaskResult find(BufferedReader reader, String searchStr) throws IOException;
}
